package com.tiger.project.service.impl;

import java.util.List;

import com.tiger.project.domain.CommonDecisionEnclosure;
import com.tiger.project.mapper.CommonDecisionEnclosureMapper;
import com.tiger.project.service.ICommonDecisionEnclosureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author standard
 * @date 2022-09-14
 */
@Service
public class CommonDecisionEnclosureServiceImpl implements ICommonDecisionEnclosureService {
    @Autowired
    private CommonDecisionEnclosureMapper commonDecisionEnclosureMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public CommonDecisionEnclosure selectCommonDecisionEnclosureById(Long id) {
        return commonDecisionEnclosureMapper.selectCommonDecisionEnclosureById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param commonDecisionEnclosure 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<CommonDecisionEnclosure> selectCommonDecisionEnclosureList(CommonDecisionEnclosure commonDecisionEnclosure) {
        return commonDecisionEnclosureMapper.selectCommonDecisionEnclosureList(commonDecisionEnclosure);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param commonDecisionEnclosure 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertCommonDecisionEnclosure(CommonDecisionEnclosure commonDecisionEnclosure) {
        return commonDecisionEnclosureMapper.insertCommonDecisionEnclosure(commonDecisionEnclosure);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param commonDecisionEnclosure 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateCommonDecisionEnclosure(CommonDecisionEnclosure commonDecisionEnclosure) {
        return commonDecisionEnclosureMapper.updateCommonDecisionEnclosure(commonDecisionEnclosure);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteCommonDecisionEnclosureByIds(Long[] ids) {
        return commonDecisionEnclosureMapper.deleteCommonDecisionEnclosureByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteCommonDecisionEnclosureById(Long id) {
        return commonDecisionEnclosureMapper.deleteCommonDecisionEnclosureById(id);
    }

}
